package com.shengyin.ec.service.account;

import java.util.List;

import com.shengyin.ec.model.entity.Personal;




public interface PersonalService {


	public void createPersonal(Personal personal);
	
	public void updatePersonal(Personal personal);
	
	public Personal getPersonalById(long id);
	
	public void removePersonalById(long id);
	
	public List<Personal> getPersonalList();
	
	public List<Personal> getPersonalByPage(int offset,int pageSize);
	
	public void deleteAllPersonal(String [] ids);
	
	//add by lcl 2012-3-7
		public boolean checkUser(String userName, String pwd);
		
	//add by lcl 2012-3-8
		public List<Personal> getPersonalByUsername(String username);
		
		public List<Personal> getPersonalByUsername(String username,int offset,int pageSize);
		//add by wql 2012-3-20
		public Long getTotal();
		public List<Personal> getPersonalList(int offset,int pagesize);
		
		
		
}
